Skip to content

Conversation

Fionoble
Copy link
Contributor

This pull request introduces a new Storage API for managing key-value data storage within extensions. It includes the implementation of the Storage interface, its integration into the StandardApi, and documentation for the new API.

New Storage API Implementation:

  • Added a Storage interface with methods for setting, getting, deleting, and managing key-value pairs in the extension's storage. This includes support for batch operations and error handling for storage limits. (packages/ui-extensions/src/surfaces/admin/api/storage/storage.ts)

Integration with StandardApi:

  • Updated the StandardApi interface to include the new storage property, allowing extensions to access the Storage API. (packages/ui-extensions/src/surfaces/admin/api/standard/standard.ts)

Documentation:

  • Added a documentation file for the Storage API, describing its purpose, usage, and available methods. (packages/ui-extensions/src/surfaces/admin/api/storage/storage.doc.ts)

Copy link
Contributor

@elanalynn elanalynn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Contributor Author

Fionoble commented Jul 18, 2025

Merge activity

  • Jul 18, 4:53 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 18, 4:54 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 18, 4:55 PM UTC: @Fionoble merged this pull request with Graphite.

@Fionoble Fionoble force-pushed the fio/admin-storage-api branch from 9ba886e to f96f234 Compare July 18, 2025 16:54
@Fionoble Fionoble merged commit ca23426 into 2025-10-rc Jul 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants